package com.ymttest.database.sharding.db.sharding.mapper;

import com.ymttest.database.sharding.db.sharding.model.OrderDetailExample;
import com.ymttest.database.sharding.db.sharding.model.OrderDetailPo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderDetailMapper {
    int countByExample(OrderDetailExample example);

    int deleteByExample(OrderDetailExample example);

    int deleteByPrimaryKey(Long orderDetailId);

    int insert(OrderDetailPo record);

    int insertSelective(OrderDetailPo record);

    List<OrderDetailPo> selectByExample(OrderDetailExample example);

    OrderDetailPo selectByPrimaryKey(Long orderDetailId);

    int updateByExampleSelective(@Param("record") OrderDetailPo record, @Param("example") OrderDetailExample example);

    int updateByExample(@Param("record") OrderDetailPo record, @Param("example") OrderDetailExample example);

    int updateByPrimaryKeySelective(OrderDetailPo record);

    int updateByPrimaryKey(OrderDetailPo record);
}